package com.sinog.front.feign.basic.common;

import com.sinog.core.utilbean.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @desc basic通用feign
 * @author -
 * @date -
 */
@FeignClient("sinog2c-basic")
public interface CommonBasicService {

    /**
     * 获取角色对应的机构级别
     * @param loginUserLevel loginUserLevel
     * @return Result
     */
    @GetMapping("/basic/common/getOrgLevelList")
    Result getOrgLevelList(@RequestParam("loginUserLevel") String loginUserLevel);
}